package com.lightsaber.trade.cloth.entity.programme;

/**
 * OperatingCampus.java creation date 2011-8-11 下午01:44:54 
 * @author dj
 * Email:dj.dai@accentrix.com
 * 
 * Copyright (c) 2001-2008 Accentrix Company Limited. All Rights Reserved.
 * 
 * Accentrix Company Limited. ("Accentrix") retains copyright on all text, source
 * and binary code contained in this software and documentation. Accentrix grants
 * Licensee a limited license to use this software, provided that this copyright
 * notice and license appear on all copies of the software. The software source
 * code is provided for reference purposes only and may not be copied, modified 
 * or distributed.
 * 
 * THIS SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS," WITHOUT ANY WARRANTY OF
 * ANY KIND UNLESS A SEPARATE WARRANTIES IS PURCHASED FROM ACCENTRIX AND REMAINS
 * VALID.  ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
 * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. ACCENTRIX SHALL NOT BE LIABLE
 * FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING OR MODIFYING THE
 * SOFTWARE OR ITS DERIVATIVES.
 * 
 * IN NO EVENT WILL ACCENTRIX BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR
 * FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
 * HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE
 * USE OF OR INABILITY TO USE SOFTWARE, EVEN IF ACCENTRIX HAS BEEN ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGES.
 * 
 */


import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.lightsaber.trade.core.entity.AuditedObject;

@Entity
@Table(name = "MPI_PROG_OPERATING_UNIT")
public class MpiOperatingCampus extends AuditedObject{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @EmbeddedId
    private MpiOperatingCampusId id;

//    @Column(name = "CREATED_BY")
//    private String createdBy;
//
//    @Column(name = "CREATED_DATE")
//    private Date createdDate;
//
//    @Column(name = "LAST_UPDATED_BY")
//    private String lastUpdatedBy;
//
//    @Column(name = "LAST_UPDATED_DATE")
//    private Date lastUpdatedDate;

    // @ManyToOne(fetch = FetchType.LAZY)
    // @JoinColumns(value = { @JoinColumn(name =
    // "PROG_STRUCT_CODE"),@JoinColumn(name = "LAUNCH_YEAR"), @JoinColumn(name =
    // "LAUNCH_VERSION") })
    // private Programme programme;

    public MpiOperatingCampusId getId() {
        return id;
    }

    public void setId(final MpiOperatingCampusId id) {
        this.id = id;
    }


    // public Programme getProgramme() {
    // return programme;
    // }
    //
    // public void setProgramme(Programme programme) {
    // this.programme = programme;
    // }

}
